package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Community;

/**
 * communityMapper接口
 * 
 * @author wfj
 * @date 2025-11-23
 */
public interface CommunityMapper 
{
    /**
     * 查询community
     * 
     * @param id community主键
     * @return community
     */
    public Community selectCommunityById(String id);

    /**
     * 查询community列表
     * 
     * @param community community
     * @return community集合
     */
    public List<Community> selectCommunityList(Community community);

    /**
     * 新增community
     * 
     * @param community community
     * @return 结果
     */
    public int insertCommunity(Community community);

    /**
     * 修改community
     * 
     * @param community community
     * @return 结果
     */
    public int updateCommunity(Community community);

    /**
     * 删除community
     * 
     * @param id community主键
     * @return 结果
     */
    public int deleteCommunityById(String id);

    /**
     * 批量删除community
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCommunityByIds(String[] ids);
}
